@extends('layouts.app')
@section('header')
     @include('common.header')
@stop
@section('title', $category->seo_title)
@section('content')
 <link href="/front/Content/gongxupingtai.css" rel="stylesheet" type="text/css" />
 <style>
.layui-layer-title{font-size:16px;}
.layui-layer-page .layui-layer-content{font-size:18px;}

 
 </style>
<div class="banner1"></div>
<div class="xtxx">
            <div class="xtxx_top">
                <div class="xtxx_tit"><p><a href="{{url('/')}}">首页</a>&nbsp;&gt;&nbsp;<a href="{{url($category->controller.'?catid='.$category->id)}}">{{$category->name}}</a></p></div>
            </div>

            <div class="wdda wdda_company">
                <div class="gsjs">
                    <div class="gsjs_tit">
                    	@if($category->parent_id > 0 && isset($menu[$category->parent_id]) && !empty($menu[$category->parent_id]))
                        	@foreach($menu[$category->parent_id]['child'] as $k=>$row)
                            <span
                            @if($category->id == $row['id'])
                             class="on"
                            @endif
                             ><a href="{{url($row['controller'].'?catid='.$row['id'])}}">{{$row['name']}}</a></span>
                            @endforeach

                        @endif

                    </div>

                    <!-- 买家需求 -->
                    <div class="gywm_nr">
                        <div class="gywmbox">
                            <div class="gxpt">
                                <div class="qpts">
                                    <h1 style="font-size: 12px;color: #ccc"><span>特别声明：</span>纺织名片宝刊登之所有信息不声明或保证其内容之正确性或可靠性；您在此接受并承认个息任何信息所生之风险应自行承担，纺织名片宝有权但无此义务，改变或更正所登信息任何部分之错误 或损失。
                                        <a class="btn11" href="/user/sendService">
@if($category->id == 22)
                                          我有需求
@elseif($category->id == 23)
我要发布
@elseif($category->id == 24)
我要招聘
@else
我有需求
@endif
                                        </a>
                                    </h1>
                                    <ul class="nav-nav" id="tbody0">
                                    @foreach($pageList as $row)
                                    <li class="navdown1"><a style="display: flex;align-items: center;justify-content: center;" class="tc show" onclick="show({{$row->id}})" href="javascript:;"><h3 style="font-size: 13px;line-height: 17px">{{$row->title}}</h3></a></li>
									@endforeach
                                    </ul>
                                </div>
                                <div class="dede_pages u0"><ul class="pagelist">
                                {{ $pageList->links('common.paginator', [ 'results'=>$pageList ]) }}
                                </ul></div>

                            </div>
                        </div>

                        <!-- 卖家发布 -->
                        <div class="gywmbox" style="display: none;">
                            <div class="gxpt">
                                <div class="qpts">
                                    <h1 style="font-size: 12px;color: #ccc"><span>特别声明：</span>纺织名片宝刊登之所有信息不声明或保证其内容之正确性或可靠性；您在此接受并承认个息任何信息所生之风险应自行承担，纺织名片宝有权但无此义务，改变或更正所登信息任何部分之错误 或损失。<a class="btn11" href="">我要发布</a></h1>
                                    <ul class="nav-nav" id="tbody1"></ul>
                                </div>
                                <div class="dede_pages u1"><ul class="pagelist"><li class="pre1"><a href="javascript:;">上一页</a></li><li class="next1"><a href="javascript:;">下一页</a> </li><li></li></ul></div>
                                <input id="pageNo1" type="hidden" value="1">
                                <input id="pages1" type="hidden" value="0">
                            </div>
                            <script>
                                $(".zyfz .zyfz_tit a").each(function (index) {
                                    $(this).click(function () {
                                        $(".on1").removeClass("on1");
                                        $(this).addClass("on1");
                                        $(".zyfz .zyfzbox .zyfz_nr:eq(" + index + ")").show().siblings().hide();
                                    });
                                });
                            </script>
                        </div>

                        <!-- 人才招聘 -->
                        <div class="gywmbox" style="display: none;">
                            <div class="gxpt">
                                <div class="qpts">
                                    <h1 style="font-size: 12px;color: #ccc"><span>特别声明：</span>纺织名片宝刊登之所有信息不声明或保证其内容之正确性或可靠性；您在此接受并承认个息任何信息所生之风险应自行承担，纺织名片宝有权但无此义务，改变或更正所登信息任何部分之错误 或损失。<a class="btn11" href="">人才招聘</a></h1>
                                    <ul class="nav-nav" id="tbody2"></ul>
                                </div>
                                <div class="dede_pages u2"><ul class="pagelist"><li class="pre2"><a href="javascript:;">上一页</a></li><li class="next2"><a href="javascript:;">下一页</a> </li><li></li></ul></div>
                                <input id="pageNo2" type="hidden" value="1">
                                <input id="pages2" type="hidden" value="0">
                            </div>
                        </div>
                    </div>
                </div>
                <script>
                    $(".gsjs .gsjs_tit span").each(function (index) {
                        $(this).click(function () {
                            $(".on").removeClass("on");
                            $(this).addClass("on");
                            $(".gsjs .gywm_nr .gywmbox:eq(" + index + ")").show().siblings().hide();
                        });
                    });
                </script>

            </div>
        </div>

@endsection
@section('footer')
     @include('common.footer')
@stop
